package xkp.lesson.dao;

import xkp.lesson.entity.UserInfo;

import java.util.List;

public class UserInfoDao {

    public Integer insert(UserInfo userInfo) {
        System.out.println("userInfo insert()");
        return null;
    }


    public boolean deleteById(Integer id) {

        System.out.println("userInfo deleteById()");
        int n = 10/0;
        return true;
    }


    public boolean update(UserInfo userInfo) {
        System.out.println("userInfo update()");
        int n = 10/0;
        return false;
    }


    public List<UserInfo> selectAll() {
        System.out.println("userInfo selectAll()");
        return null;
    }
}
